<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<html>
<head>
	<title>发布新记录</title>
	    <%@ include file="/WEB-INF/jsp/public/commons.jspf" %>
	
	<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/style/blue/forum.css" />

<%-- 	<script language="javascript" src="${pageContext.request.contextPath}/fckeditor/fckeditor.js" charset="utf-8"></script>
    <script type="text/javascript">
		$(function(){
			var fck = new FCKeditor("content");
			fck.Width = "99%";
			fck.Height = "100%";
		//	fck.ToolbarSet = "admin";
			fck.BasePath = "${pageContext.request.contextPath}/fckeditor/";
			//fck.Config['SkinPath'] = "${pageContext.request.contextPath}/scriipt/fckeditoreditor/skins/office2003/";
			//fck.Config['SkinPath'] = "http://bbs.itcast.cn:80/widgets/fckeditor/editor/skins/office2003/";
			fck.ReplaceTextarea();
		});
    </script> --%>
    
</head>
<body>

<!-- 标题显示 -->
<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="${pageContext.request.contextPath}/style/images/title_arrow.gif"/> 发表新主题
        </div>
        <div id="Title_End"></div>
    </div>
</div>

<!--显示表单内容-->
<div id="MainArea">
<s:form action="serviceTopic_add" style="margin: 0; padding: 0;">
<s:hidden name="serviceId"></s:hidden>
	<div id="PageHead"></div>
	<center>
		<div class="ItemBlock_Title1">
			<div width=85% style="float:left">
				<font class="MenuPoint"> &gt; </font>
				<s:a action="service_list">服务记录</s:a>
				<font class="MenuPoint"> &gt; </font>
				<s:a action="service_show?id=%{serviceId}">${service.name}</s:a>
				<font class="MenuPoint"> &gt;&gt; </font>
				发布新记录
			</div>
		</div>
		<div class="ItemBlockBorder">
			<table border="0" cellspacing="1" cellpadding="1" width="100%" id="InputArea">
				<tr>
					<td class="InputAreaBg" height="30"><div class="InputTitle">标题</div></td>
					<td class="InputAreaBg"><div class="InputContent">
						<s:textfield type="text" name="title" cssClass="InputStyle" cssStyle="width:50%"/></div>
					</td>
				</tr>
<!-- 				            <div class="ItemBlock">
          <!--    <table cellpadding="0" cellspacing="0" class="mainForm"> -->
                 <tr>
						<td class="InputAreaBg" height="30"><div class="InputTitle">服务用户</td>
                        <td class="InputAreaBg"><div class="InputContent">
                        	<s:select name="userId" cssClass="SelectStyle"
                        		multiple="false" size="10" 
                        		list="#userList" listKey="id" listValue="name +'  ' +department.name"
                        		/>
							此处不可多选
                        </td>
                    </tr>
<!--                 </table>
 --><!--             </div>
 -->				<tr>
					<td class="InputAreaBg" height="30"><div class="InputTitle">服务时间</div></td>
					<td class="InputAreaBg"><div class="InputContent">
						<s:textfield type="text" name="serviceTime" onfocus="HS_setDate(this)" cssClass="InputStyle" cssStyle="width:50%"/></div>
					</td>
				</tr>
				<tr height="240">
					<td class="InputAreaBg"><div class="InputTitle">服务过程</div></td>
					<td class="InputAreaBg">
						<div class="InputContent">
							<s:textarea name="serviceProcess"  cssStyle="width:650px;height:200px"></s:textarea>
						</div>
					</td>
					
				</tr>

        		
				<tr height="30">
					<td class="InputAreaBg" colspan="2" align="center">
						<input type="image" src="${pageContext.request.contextPath}/style/blue/images/button/submit.PNG" style="margin-right:15px;"/>
						<a href="javascript:history.go(-1);"><img src="${pageContext.request.contextPath}/style/blue/images/button/goBack.png"/></a>
					</td>
				</tr>
			</table>
		</div>
	</center>
</s:form>
</div>

<div class="Description">
	说明：<br />
	
</div>

</body>
</html>
